package ooday01;

public class Car {
    String brand;
    String color;
    double price;
    Car(){
    }
    Car(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void start(){
        System.out.println("这台"+this.color+this.price+"元的"+"叫做"+this.brand+"启动了...");}
    void run(){
        System.out.println("这台"+this.color+this.price+"元的"+"叫做"+this.brand+"跑起来了...");}
    void stop(){
        System.out.println("这台"+this.color+this.price+"元的"+"叫做"+this.brand+"停下了...");}



}

